<?php
/**
 * User vacations counter.
 * 
 * @author Xavier VILAIN
 * @package hive
 * @subpackage vacations
 */

use Fox\Grid;

// Load User Vacations available types
$grid = new Grid("gVacationSummary");

$grid->fieldcat(array('label'));
foreach($types as $type)
{
	$grid->fieldcat()->add(new Field(array($type->id())));
}